//
//  CSScrollLabel.h
//  滚动的文字
//
//  Created by rsh on 2019/10/15.
//  Copyright © 2019年 rsh. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CSScrollLabel : UIView

@property (nonatomic, strong) NSString *text; /**< 文字*/
@property (nonatomic, strong) UIColor *textColor; /**< 字体颜色 默认白色*/
@property (nonatomic, strong) UIFont *textFont; /**< 字体大小 默认25*/
@property (strong, nonatomic) UIImage *image;

@property (nonatomic, assign) CGFloat space; /**< 首尾间隔 默认25*/
@property (nonatomic, assign) CGFloat velocity; /**< 滚动速度 pixels/second,默认30*/
@property (nonatomic, assign) NSTimeInterval pauseTimeIntervalBeforeScroll; /**< 每次开始滚动前暂停的间隔 默认2s*/

- (void)setupScrollLabel;
- (void)addCycleScrollObserverNotification;

@end
